<?php

/**
 * @author Eureka
 */
class Config
{

	public static function params($name, $default = null)
	{
		if (isset(Yii::app()->params[$name]))
		{
			return Yii::app()->params[$name];
		}
		else
		{
			return $default;
		}
	}

}
